package win.demonlegion.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import win.demonlegion.module.SysAuthorityBean;

import java.util.List;

@Mapper
public interface SysAuthorityMapper {
    int count();
    List<SysAuthorityBean> findAll();
    SysAuthorityBean selectById(@Param("id")String id);
    SysAuthorityBean selectByAuthority(@Param("authority")String authority);
    int add(SysAuthorityBean sysAuthorityBean);
}
